<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../common/head.jsp"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<div class="bjui-pageContent">
	<form action="${ctx}/sys/xieXin.do" id="j_custom_form" data-toggle="ajaxform">
		<div class="bjui-row col-2">
			<label class="row-label">主题</label>
			<div class="row-input">${modifybean.subject}</div>
			<br />
			<label class="row-label">发件人</label>
			<div class="row-input">${modifybean.sender}</div>
			<br />
			<label class="row-label">收件人</label>
			<div class="row-input">${modifybean.receiverString}</div>
			<br />
			<label class="row-label">时间</label>
			<div class="row-input">
				<fmt:formatDate value="${modifybean.receiveDate}" pattern="yyyy-MM-dd HH:mm:ss" />
			</div>
			<br />

			<c:if test="${not empty modifybean.files}">
				<label class="row-label">附件</label>
				<div class="row-input">
					<c:forEach items="${modifybean.files}" var="item" varStatus="vitem">
								${item.sourceName } <a style="color: blue"
							href="${ctx}/sys/fujian.do?uuid=${modifybean.xmlNameString}&index=${vitem.index}&rel=shou">下载</a>
						<br />
					</c:forEach>
				</div>
				<br />
			</c:if>

			<label class="row-label">正文</label>
			<div class="row-input">
				<textarea name="content" id="j_form_content" class="j-content" style="width: 1000px; height: 500px"
					data-toggle="kindeditor" data-items=" bold" data-minheight="200px">${modifybean.contentDecode}</textarea>
			</div>
			<br />
			<label class="row-label">&nbsp;</label>
			<div class="row-input">
				<a href="${ctx}/sys/hui.do?uuid=${modifybean.xmlNameString}&f=${f}"   class="btn btn-blue"
					data-toggle="navtab" data-id="youjian" data-title="回复邮件">回复邮件</a>
			</div>
			<br />



		</div>
	</form>
</div>
<div class="bjui-pageFooter">
	<ul>
		<!-- 		<li> -->
		<!-- 			<button type="button" class="btn-close" data-icon="close">取消</button> -->
		<!-- 		</li> -->
		<!-- 		<li> -->
		<!-- 			<button type="submit" class="btn-default" data-icon="save">提交</button> -->
		<!-- 		</li> -->
	</ul>
</div>
<datalist id="pasta111">
	<c:forEach items="${clist}" var="fitem">
		<option>${fitem.email}</option>
	</c:forEach>
</datalist>